package com.util;

import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;

import org.apache.log4j.Logger;



/**
 * 日期工具类
 *
 * @date 2017-3-3 14:48:20
 */
public class DateUtils {

    public static  String getFormtDate(){
        Date now = new Date();
        SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return  sd.format(now);
    }

}